//
//  ReservacionesDetail.h
//  Futbol5Final
//
//  Created by Ulises Ocana on 4/14/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CanchaVO.h"

@interface ReservacionesDetail : UIViewController  <UITableViewDataSource,UITableViewDelegate>
{
    NSString *dateFromCalendar;
    NSMutableArray *horas;
    UIAlertView *alertWithYesNoButtons;
    NSMutableData *responseData;
    int selectedIndex;
}

@property (strong, nonatomic) IBOutlet UITableView *tabla;
@property (strong, nonatomic) IBOutlet UILabel *fecha;
@property (strong, nonatomic) NSArray *reservaciones;
@property (strong, nonatomic) CanchaVO *cancha;

-(id) initWithDate:(NSDate *) date : (NSArray *) reservacionesp:(CanchaVO *)canchap;
-(BOOL) checkIdReservado:(int) indice;

@end
